/**
 * 
 */
package com.cmpanyandi.elearning.wordsdriller.model;


/**
 * Dictionary bean.
 * 
 * @author wojtek
 * 
 */
public class Dictionary extends DictionaryDB {

    private static final long serialVersionUID = -6181361750146813382L;
    public static final String NAME = "name";
    public static final String DESCRIPTION = "description";
    private static final String[] columns = new String[] { PK, NAME, DESCRIPTION };
    public static final String[]SELECTION_COLUMNS = new String[] { PK, NAME, DESCRIPTION };

   
    /**
     * Default constructor.
     */
    public Dictionary() {
	
    }
    
    
    /**
     * Initialise bean from PK;
     * @param pk
     */
    public Dictionary(Long pk) {
	setPk(pk);
    }
    
    @Override
    public String getTableName() {
	return "dictionary";
    }

    @Override
    public String[] getSelectionColumns() {
	return columns;
    }

    @Override
    public String getOrderBy() {
	return NAME;
    }



}
